<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<jsp:include page="/WEB-INF/jsps/include/amazeUI.jsp" />
<style type="text/css">
	#loginPanel{
		margin-top: 200px;
	}

</style>



<title>登录</title>

</head>
<body>
	<div id="loginPanel" class="am-panel am-panel-default am-u-sm-12 am-u-lg-4 am-u-md-8 am-u-sm-centered am-animation-scale-up">
		<div class="am-panel-hd"><span class="am-icon-user"></span> 请登录</div>
		<div class="am-panel-bd">
			<form class="am-form" action="<%=request.getContextPath()%>/loginSubmit" method="post">
				<div class="am-form-group">
					<input type="text" class="" id="username" name="username" placeholder="用户名">
				</div>
				<div class="am-form-group">
					<input type="password" class="" id="password" name="password" placeholder="密码">
				</div>
				<c:if test="${error!=null }">
					<div class="am-alert am-alert-danger" data-am-alert>
						<button type="button" class="am-close">&times;</button>
						<p>${error }</p>
					</div>
				</c:if>
				<div class="am-btn-group">
					<button type="submit" class="am-btn am-btn-primary">
						<i class="am-icon-check"></i> 登录
					</button>
					<button type="reset" class="am-btn am-btn-danger">
						<i class="am-icon-cog"></i> 重置
					</button>
				</div>
			</form>
		</div>
	</div>

	<jsp:include page="/WEB-INF/jsps/include/footer.jsp"/>
</body>
</html>